package com.ch.mapdemo.mapper;

import com.ch.mapdemo.entity.MapDemo;
import com.ch.mapdemo.entity.MapDemoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MapDemoMapper {
    int countByExample(MapDemoExample example);

    int deleteByExample(MapDemoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MapDemo record);

    int insertSelective(MapDemo record);

    List<MapDemo> selectByExample(MapDemoExample example);

    MapDemo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MapDemo record, @Param("example") MapDemoExample example);

    int updateByExample(@Param("record") MapDemo record, @Param("example") MapDemoExample example);

    int updateByPrimaryKeySelective(MapDemo record);

    int updateByPrimaryKey(MapDemo record);
}